import axios from "../model/axios";
import api from "../model/api";


export  const  upload  = (data:any)=>{
    return axios({
        method:"post",
        url:api.common.upload,
        headers:{
            "Authorization":window.localStorage.getItem("token")
        },
        data
    })
}

